package com.xh.bussiness.permission.bean.dto;

import com.xh.core.bean.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel
public class UserDto extends BaseDto {

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("机构id")
    private String orgId;

    @ApiModelProperty("头像url")
    private String headUrl;

    @ApiModelProperty("性别，0：女，1：男")
    private Integer sex;

    @ApiModelProperty("生日")
    private Date birthday;

    @ApiModelProperty("用户类型")
    private Integer type;

    @ApiModelProperty("是否未后台用户")
    private Integer isAdmin;

    @ApiModelProperty("是否未前台用户")
    private Integer isFront;

    @ApiModelProperty("状态 0：正常，1：禁用")
    private Integer status;

    @ApiModelProperty("是否为试用用户")
    private Integer isTry;

    @ApiModelProperty("身份")
    private Integer identity;
    /**
     * 校区名称
     */
    private String schoolName;
    /**
     * 角色名称
     */
    private String roleName;
}
